package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/***
 ** Create by Wedream on 2021/8/11
 *  实体：不同城市的工资
 *  city_salary(id,city,ranking,avg_salary,min_salary,median,max_salary,recruit_num,percent)
 */
@TableName("city_salary")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CitySalary {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer ranking;
    private String city;
    private Integer avgSalary;
    private Integer minSalary;
    private Integer median;
    private Integer maxSalary;
    private Integer recruitNum;
    private String percent;
}
